package com.grad.why.studentsystem.service;

import com.grad.why.studentsystem.domain.Student;

import java.util.List;

public interface StudentService {
    public List<Student> getStudentList(int offset,int limit,String sort,String search);

    long getStudentListLength(String search);

    int getMaxStudentId();

    Student addStudentByEntity(Student student);

    int deleteStudentById(Integer id);

    Student updateStudentByEntity(Student student);

    String getStudentNameBySid(int sid);

    int addStudentInfosByExcelFile(String uploadCurrentFileName);

    Student getStudentInfoBySid(int bindid);

//    void addNations(String s);
}
